<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>REGISTER</title>
    <link rel="stylesheet" type="text/css" href="css/login.css">
    <script src="js/Vue.js"></script>
    <script src="js/register.js"></script>
</head>
<body>
<div id="app"></div>

<template id="register-table">
    <fieldset>
        <legend>书店用户注册</legend>
        <table style="margin: 30px auto">
            <thead></thead>
            <tbody>
            <tr>
                <td>电话：</td>
                <td>
                    <label>
                        <input type="text" placeholder="请输入用户名/手机" v-model="telephone">
                    </label>
                </td>
            </tr>
            <tr>
                <td>密码：</td>
                <td>
                    <label>
                        <input type="password" placeholder="请输入密码" v-model="pwd">
                    </label>
                </td>
            </tr>
            <tr>
                <td>姓名：</td>
                <td>
                    <label>
                        <input type="text" placeholder="请输入姓名" v-model="name">
                    </label>
                </td>
            </tr>
            <tr>
                <td>地址：</td>
                <td>
                    <label>
                        <input type="text" placeholder="请输入地址" v-model="address">
                    </label>
                </td>
            </tr>
            </tbody>
        </table>
        <div style="text-align:center"><input type="button" value="注册" @click="isRightInfo"></div>
        <p v-show="isShow">{{failMsg}}</p>
    </fieldset>
</template>
</body>
</html>